//
//  PurchaseTableViewCell.m
//  CommodityManager
//
//  Created by lanou3g on 15/5/30.
//  Copyright (c) 2015年 libertyair. All rights reserved.
//

#import "PurchaseTableViewCell.h"

@implementation PurchaseTableViewCell

- (void)awakeFromNib {
    // Initialization code
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.company=[[UILabel alloc] initWithFrame:CGRectMake(40, 10, 260, 30)];
        _company.backgroundColor=[UIColor yellowColor];
        self.orderNumber=[[UILabel alloc] initWithFrame:CGRectMake(40, 60, 100, 30)];
        _orderNumber.backgroundColor=[UIColor yellowColor];
        self.date=[[UILabel alloc] initWithFrame:CGRectMake(40, 110, 260, 30)];
        _date.backgroundColor=[UIColor yellowColor];
        self.fund=[[UILabel alloc] initWithFrame:CGRectMake(200, 60, 100, 30)];
        _fund.backgroundColor=[UIColor yellowColor];
        [self.contentView addSubview:_company];
        [self.contentView addSubview:_orderNumber];
        [self.contentView addSubview:_date];
        [self.contentView addSubview:_fund];
        
    }
    return self;
}





@end
